interface IProps {
  title: string | undefined;
}
const Loading = ({ title = 'UmiJs-Admin' }: IProps) => {
  return (
    <div className="app-loading">
      <div className="app-loading-wrap">
        <div className="app-loading-dots">
          <span className="dot dot-spin">
            <i></i>
            <i></i>
            <i></i>
            <i></i>
          </span>
        </div>
        <div className="app-loading-title">{title}</div>
      </div>
    </div>
  );
};

export default Loading;
